package util.libraries;

import java.io.File;


/**
 * Abstract Library class which ensures that the directory of the read file is
 * stored
 * 
 * @author Julian
 */
public abstract class AbstractLibrary implements ILibrary
{
    protected String myDirectory;


    public AbstractLibrary ()
    {
        super();
    }


    public AbstractLibrary (String s)
    {
        this(new File(s));
    }


    public AbstractLibrary (File file)
    {

        setDirectory(file.toString());
        buildLibrary(file);
    }


    public void setDirectory (String myDirectory)
    {
        this.myDirectory = myDirectory;
    }


    public String getDirectory ()
    {
        return myDirectory;
    }

}
